package org.dev.pf.iof.systemmanage.service;

import java.util.List;

import org.dev.pf.iof.systemmanage.dao.IUserManageDao;
import org.dev.pf.iof.systemmanage.model.IofUserinfo;
import org.dev.pf.iof.systemmanage.vo.UserSearchVO;

public class UserManageServiceImpl implements IUserManageService {
	
	
	private IUserManageDao theIUserManageDao;

	public void setTheIUserManageDao(IUserManageDao theIUserManageDao) {
		this.theIUserManageDao = theIUserManageDao;
	}

	public List<IofUserinfo> searchUser(UserSearchVO searchVo)throws Exception{
		try {
			
			List<IofUserinfo> results=theIUserManageDao.selectUser(searchVo);
			
			return results;
		} catch (Exception e) {
			e.printStackTrace();
			throw e;
		}
		
	}
	
	

}
